<div class="menu">
  <ul>
    <li><%= link_to '<span>Home</span>',"/home/index",:class =>@view_code==1?'active':''  %> </li>
    <li><%= link_to "<span>Sign Up</span>","/users/new",:class =>@view_code==2?'active':''  %></li>
    <li><%= link_to '<span>Statement</span>',statements_path,:class =>@view_code==3?'active':''  %></li>
    <li><%= link_to '<span>Bad Day/Rants</span>',baddays_path,:class =>@view_code==4?'active':''  %></li>
    <li><%= link_to '<span>Q&A</span>',questions_path,:class =>@view_code==5?'active':''  %></li>
    <li><%= link_to '<span>Contact Us</span>',"/contacts/index",:class =>@view_code==6?'active':''  %></li>
  </ul>
</div>


